package com.naiterui.ehp.bs.cms.modules.wms.vo;

import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

/**
 * 药品配置的excel类
 * 
 * @author yangfuya
 * @since 2021/11/12
 */
@Data
public class MedicineUsageExcelVO implements Serializable {

    private static final long serialVersionUID = 5871315176645274375L;
    /**
     * 小数数值的最小值
     */
    public static final double dmin = 0.1;
    /**
     * 数值最小值
     */
    public static final int min = 1;
    /**
     * 数值最大值
     */
    public static final int max = 999;

    @Excel(name = "药品SKUID", orderNum = "0")
    private Long skuId;

    @Excel(name = "默认频次周期数（数值）", orderNum = "1")
    private Integer dosageCycle;

    @Excel(name = "默认频次单位（选择）", orderNum = "2")
    private String dosageCycleUnit;

    @Excel(name = "默认频次数（数值）", orderNum = "3")
    private Integer dosageCount;

    @Excel(name = "默认剂量（数值：支持小数）", orderNum = "4")
    private String eachDosageCount;

    @Excel(name = "药品服用单位（选择）", orderNum = "5")
    private String eachDoseUnit;
    //
    // @Excel(name = "最小规格包装数（数值）", orderNum = "6")
    // private Integer packagSpec;
    //
    // @Excel(name = "药品单位（选择）", orderNum = "7")
    // private String quantityUnit;

@Excel(name = "服用方式（选择）", orderNum = "6")
    private String usageMethod;

    @Excel(name = "频次最小值（每天最小用药次数）", orderNum = "7")
    private Integer frequencyMin;

    @Excel(name = "频次最大值（每天最大用药次数）", orderNum = "8")
    private Integer frequencyMax;

    @Excel(name = "剂量最小值（每次最小用量：支持小数）", orderNum = "9")
    private Double doseMin;

    @Excel(name = "剂量最大值（每次最大用量：支持小数）", orderNum = "10")
    private Double doseMax;

    @Excel(name = "用药周期最大值（天）", orderNum = "11")
    private Integer medicationCycleMax;

    @Excel(name = "导入结果", orderNum = "12")
    private String result;
}
